package com.galeno.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 此类已废除,将在后续版本删除,请谨慎使用
 * @author galeno
 * @Title:
 * @Description:
 * @date 2021/11/1115:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Deprecated
public class EventParam {
    //行为id
    private String eventId;
    //行为属性
    private Map<String, String> properties;
    //开始时间
    private Long startTime;
    //结束时间
    private Long endTime;
    //阈值
    private Integer threshold;

    //sql语句
    private String sql;
    @Deprecated
    public EventParam(String eventId,Map<String,String> properties){
        this.eventId=eventId;
        this.properties=properties;

    }


}
